package com.payment.service;

import com.payment.entity.common.UserOrderPackage;

import java.sql.Timestamp;
import java.util.List;

public interface UserOrderPackageService {

    public int findPayIdByNotify(String payId);

    public Integer updateWeiXinPayRst(UserOrderPackage order);

    public List<UserOrderPackage> queryOrderByPayIdAndAmount(String payId, String payAmount);

    public void updateWeiXinIsNotify(UserOrderPackage user);

    public int findOrderIdByNotify(String orderId);

    public List<UserOrderPackage> queryOrderByOrderIdAndAmount(String orderId, String paymentAmount);

    public void updateCallbackPayRst(UserOrderPackage order);

    public void updateCallbackIsNotify(UserOrderPackage user);

    public List<UserOrderPackage> queryDeviceCodeByPayId(String payId);

    public void dataTransfer();

    public void originalDataDelete();

    public List<UserOrderPackage> getChannelResultList();

    public void updateyIsPartnerNotity(UserOrderPackage re);

    public List<UserOrderPackage> getPackageListByOutNo(String out_trade_no);

    Integer updatePayRstForHist(UserOrderPackage order);

    List<UserOrderPackage> queryOrderList(String payId);

    Integer insertOrderToOrderT(UserOrderPackage order);

    int findPayIdCount(String payId);
}
